package com.ruoyi.huanghefd.service;

import com.ruoyi.common.core.domain.AjaxResult;
import com.ruoyi.huanghefd.domain.Worksheet;
import com.ruoyi.huanghefd.domain.WorksheetDh;
import com.baomidou.mybatisplus.extension.service.IService;
import com.ruoyi.huanghefd.utils.PageBean;

/**
 * 动火票服务
 */
public interface WorksheetDhService extends IService<WorksheetDh> {
    /**
     * @Author gnplum
     * @Description //新增工作票
     * @Date 9:35 2023/10/31
     * @param worksheetDh
     * @return com.ruoyi.huanghefd.domain.ResultWS
     **/
    AjaxResult addWorksheetDh(WorksheetDh worksheetDh);

    /**
     * @Author gnplum
     * @Description //删除工作票
     * @Date 15:18 2023/10/31
     * @param strWsDhCode
     * @return com.ruoyi.common.core.domain.AjaxResult
     **/
    AjaxResult delWorksheetDh(String strWsDhCode);

    /**
     * @Author gnplum
     * @Description //修改工作票
     * @Date 16:24 2023/10/31
     * @param worksheetDh
     * @return com.ruoyi.common.core.domain.AjaxResult
     **/
    AjaxResult uptWorksheetDh(WorksheetDh worksheetDh);

    /**
     * @Author gnplum
     * @Description //查询工作票
     * @Date 9:39 2023/10/31
     * @return com.ruoyi.huanghefd.domain.Worksheet
     **/
    PageBean queryWorksheetDhByPage(String strWsDhCode, String strWsDhDept, String strWsDhState, String strUserId, String strMailType, String strDhType, int pageNum, int pageSize);

    AjaxResult queryWorksheetDhs(String strWsDhCode, String strWsDhDept, String strWsDhState, String strUserId, String strMailType);

}
